/*    */
package com.liang.manage.auth.facade.dto.user;
/*    */
/*    */

import java.io.Serializable;

/*    */
/*    */ public class UserPasswordDTO
        /*    */ implements Serializable
        /*    */ {
    /*    */   private Long id;
    /*    */   private String oldPassword;
    /*    */   private String newPassword;
    /*    */   private static final long serialVersionUID = 1L;

    /*    */
    /*    */
    public Long getId()
    /*    */ {
        /* 13 */
        return this.id;
        /*    */
    }

    /*    */
    /*    */
    public String getOldPassword() {
        /* 17 */
        return this.oldPassword;
        /*    */
    }

    /*    */
    /*    */
    public String getNewPassword() {
        /* 21 */
        return this.newPassword;
        /*    */
    }

    /*    */
    /*    */
    public void setId(Long id)
    /*    */ {
        /* 11 */
        this.id = id;
    }

    /* 11 */
    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    /* 11 */
    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    /* 11 */
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof UserPasswordDTO)) return false;
        UserPasswordDTO other = (UserPasswordDTO) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) return false;
        Object this$oldPassword = getOldPassword();
        Object other$oldPassword = other.getOldPassword();
        if (this$oldPassword == null ? other$oldPassword != null : !this$oldPassword.equals(other$oldPassword))
            return false;
        Object this$newPassword = getNewPassword();
        Object other$newPassword = other.getNewPassword();
        return this$newPassword == null ? other$newPassword == null : this$newPassword.equals(other$newPassword);
    }

    /* 11 */
    protected boolean canEqual(Object other) {
        return other instanceof UserPasswordDTO;
    }

    /* 11 */
    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $id = getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $oldPassword = getOldPassword();
        result = result * 59 + ($oldPassword == null ? 43 : $oldPassword.hashCode());
        Object $newPassword = getNewPassword();
        result = result * 59 + ($newPassword == null ? 43 : $newPassword.hashCode());
        return result;
    }

    /* 11 */
    public String toString() {
        return "UserPasswordDTO(id=" + getId() + ", oldPassword=" + getOldPassword() + ", newPassword=" + getNewPassword() + ")";
    }
    /*    */
    /*    */
}

/* Location:           C:\maven\maven3.5\maven3.5\repositor\io\github\maliangnansheng\nansheng-common\3.3.4\nansheng-common-3.3.4.jar
 * Qualified Name:     com.liang.manage.auth.facade.dto.user.UserPasswordDTO
 * JD-Core Version:    0.6.2
 */